package cn.shop.admin.entity.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ColumnWidth(24)
public class FrontUserExcel {

	@ExcelProperty("账号")
	private String account;

	@ExcelProperty("姓名")
	private String name;

	@ExcelProperty("性别")
	private String gender;

	@ExcelProperty("手机号")
	private String phone;

	@ExcelProperty("余额")
	@NumberFormat(value = "#.00")
	private BigDecimal balance;

	@ExcelProperty("身份证号")
	private String identityCard;

	@ExcelProperty("银行名")
	private String bankName;

	@ExcelProperty("银行卡号")
	private String cardNo;

	@ExcelProperty("支付宝账号")
	private String aliAccount;

}
